import React from 'react';
import { Row, Col } from 'antd';
import { Outlet } from 'react-router-dom';

import MyMenu from '@/components/MyMenu';
 
const Index: React.FunctionComponent<{}> = () => {
    
  return (
    <Row gutter={24}>
      <Col span={3}>
        <MyMenu isDepth mode='inline' />
      </Col>
      <Col span={21}>
        <Outlet />
      </Col>
    </Row>
  );
}
 
export default Index;
